home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / CW GUSI 1.6.4 / src / Makefile < prev    next >
Makefile  |  1995-11-05  |  2KB  |  47 lines

  1. #######################################################################
  2. #    Project    :    GUSI                -    Grand Unified Socket Interface
  3. #    File        :    Makefile            -    Build examples
  4. #    Author    :    Matthias Neeracher
  5. #    Language    :    MPW Shell/Make
  6. #    
  7. #    $Log: Makefile,v $
  8. #######################################################################
  9.  
  10. ROptions             =     -i :
  11.  
  12. all ƒ "GUSI Resources" GUSIMPWGlue.o
  13. "GUSI Resources"    ƒ GUSI.rsrc GUSI.r 
  14.     Rez {ROptions} -t rsrc -c RSED -a -o "GUSI Resources" GUSI.r
  15.  
  16. StdLib.dump     ƒ  "{Libraries}Runtime.o" "{CLibraries}StdCLib.o"
  17.     DumpObj -mods "{Libraries}Runtime.o" > StdLib.dump
  18.     DumpObj -mods "{CLibraries}StdCLib.o" >> StdLib.dump
  19.  
  20. StdLib.df        ƒ    StdLib.dump
  21.     ProcessAliases                open=MPW_open            close=MPW_close        read=MPW_read                ∂
  22.         write=MPW_write         fcntl=MPW_fcntl         ioctl=MPW_ioctl        lseek=MPW_lseek            ∂
  23.         faccess=MPW_faccess    getenv=MPW_getenv        _RTInit=_RTInit        exit=_mpwexit                ∂
  24.         StdLib.dump
  25.         
  26. GUSIMPWGlue.oƒ StdLib.df
  27.     Lib -sg GUSIMPW "{CLibraries}"StdCLib.o "{Libraries}"Runtime.o -o GUSIMPWGlue.o    ∂
  28.         `Catenate StdLib.rn` -df StdLib.df
  29.  
  30. Installƒ
  31.     Duplicate -y :Lib:GUSI.Lib.PPC :Lib:GUSIMPW.Lib.PPC "{MWPPCLibraries}"
  32.     Duplicate -y :Lib:GUSI.Lib.68K :Lib:GUSIDispatch.Lib.68K :Lib:GUSIMPW.Lib.68K "{MW68KLibraries}"
  33.     Backup -t TEXT -a -from :include: -to "{MWCincludes}">Headers2Install
  34.     Headers2Install ; Delete Headers2Install
  35.  
  36. Distr             ƒ     Distribution
  37. Distribution     ƒ 
  38.     :Distribute CWGUSI.distr CWGUSI_163.sit
  39.  
  40. Clean ƒ
  41.     SafeDel ':Examples:≈.68K' ':Examples:≈.68K.dbg' ':Examples:≈.68K.SYM'     
  42.     SafeDel ':Examples:≈.PPC' ':Examples:≈.68K.xdbg' ':Examples:≈.68K.xSYM' 
  43.     SafeDel ':Examples:GUSITestHeaders≈' ':Examples:GUSITest.Lib.≈' 
  44.  
  45. RealClean ƒ    Clean
  46.     SafeDel ':Lib:GUSI.Lib.≈' :Lib:GUSIMPW.Lib.≈' :Lib:GUSIDispatch.Lib.≈' 
  47.